package com.guslegend.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author: guslegend
 * @description: 地址添加请求对象
 * @create: 2025-05-29 08:25
 **/
@Data
@ApiModel(value = "地址添加对象", description = "地址添加模型")
public class AddressAddRequest {


    /**
     * 是否默认收货地址：0->否；1->是
     */
    @JsonProperty("default_status")
    @ApiModelProperty(value = "defaultStatus", example = "1")
    private Integer defaultStatus;

    /**
     * 收发货人姓名
     */
    @JsonProperty("receive_name")
    @ApiModelProperty(value = "receiveName", example = "guslegend")
    private String receiveName;

    /**
     * 收货人电话
     */
    @ApiModelProperty(value = "phone", example = "15077996122")
    private String phone;

    /**
     * 省/直辖市
     */
    @ApiModelProperty(value = "province", example = "江西省")
    private String province;

    /**
     * 市
     */
    @ApiModelProperty(value = "city", example = "南昌市")
    private String city;

    /**
     * 区
     */
    @ApiModelProperty(value = "region", example = "龙岗区")
    private String region;

    /**
     * 详细地址
     */
    @JsonProperty("detail_address")
    @ApiModelProperty(value = "detailAddress", example = "shop666公司")
    private String detailAddress;

}
